package cn.tedu.icop.api.service;

import cn.tedu.icop.api.model.RestResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name="user-service",contextId = "userRemoteService")
public interface UserRemoteService {
    @GetMapping("/user/vehicle/{userId}")
    RestResult<Integer> getUserBindVehicleId(@PathVariable("userId") Integer userId);
}
